//
//  MovieTableViewCell.m
//  豆瓣HW
//
//  Created by dllo on 15/11/23.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MovieTableViewCell.h"

@implementation MovieTableViewCell

- (void)dealloc
{
    [_imageV release];
    [_imageV2 release];
    [_label release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatSubTableViewCells];
    }
    return self;
}
- (void)creatSubTableViewCells
{
    self.backgroundColor = [UIColor whiteColor];

    self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, [UIScreen mainScreen].bounds.size.width - 20, 150)];
//    self.imageV.backgroundColor = [UIColor whiteColor];
    self.imageV.image = [UIImage imageNamed:@"bg_eventlistcell.png"];
    [self.contentView addSubview:self.imageV];
    [_imageV release];
    
    self.imageV2 = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, 95, 140)];
//    self.imageV2.backgroundColor = [UIColor whiteColor];
//    self.imageV2.image = [UIImage imageNamed:@"picholder@2x.png"];
    [self.imageV addSubview:self.imageV2];
    [_imageV2 release];
    
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(110, 60, 220, 40)];
//    self.label.backgroundColor = [UIColor redColor];
    [self.imageV addSubview:self.label];
    [_label release];
    
}








- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
